package com.im.project.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 群组信息
 *
 * @author yunZhouJiaDi
 */
@Data
@Accessors(chain = true)
public class ClusterVo {

    @ApiModelProperty("群id")
    private String clusterId;

    @ApiModelProperty("群名称")
    private String name;

    @ApiModelProperty("群头像")
    private String icon;

    @ApiModelProperty("群主id")
    private String ownerId;

    @ApiModelProperty("群组名称")
    private String ownerName;

    @ApiModelProperty("群创建时间")
    private Date createTime;

    @ApiModelProperty("群通知")
    private String notice;

    @ApiModelProperty("加群方式（0:直接加入 1:同意后加入）")
    private Integer joinType;

    @ApiModelProperty("是否禁言（0:否 1:是）")
    private Integer mute;

    @ApiModelProperty("群状态（1:正常 0:解散）")
    private Integer status;

    @ApiModelProperty("群人数")
    private Integer clusterUserNumber;
}
